//
//  main.c
//  temperature
//
//  Created by edz on 2020/6/22.
//  Copyright © 2020 edz. All rights reserved.
//

#include <stdio.h>

int main(int argc, const char * argv[]) {
    int c , f;
    printf("  F      C\n");
    for (f = 40; f <= 240; f=f+20) {
        c = 5 * (f -32) / 9;
        printf("%3d%7d\n",f,c);
    }
    printf("%3d%7d\n",300,148);
    return 0;
}
